<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>浏览器中运行TS代码</title>
  <script>
    window.addEventListener('load', () => {
      console.log("网页打开了")
    })
  </script>
  <style>
    .a {
      color: red;

    }
    .b {
      background-color: pink;
    }
  </style>
</head>
<body>
  <h1>周杰伦</h1>
  <p id="word">窗外的麻雀</p>

  <p>在电线杆上多嘴</p>
  
  <script src="./list.js"></script>
  
</body>
</html>